//
//  IGSubmitOrderApi.m
//  jingdongfang
//
//  Created by MTiMac01 on 2017/9/21.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGSubmitOrderApi.h"

@implementation IGSubmitOrderApi
- (YTKRequestMethod)requestMethod
{
    return YTKRequestMethodPOST;
}

- (NSString *)requestUrl
{
    return @"works/works!paymentClient.action";
}

- (id)requestArgument
{
    return @{
             @"worksId" : _worksId,
             @"uId" : [IGUser getUid],
             @"orderContent":_orderContent,
             @"payPlatCode":_payPlatCode,
             @"ifUseArtPoint":_ifUseArtPoint,
             @"orderId":_orderId?:@""
             };
}

- (BOOL)isNeedHub
{
    return YES;
}
@end

@implementation IGSubmitOrderModel
+ (BOOL)propertyIsOptional:(NSString *)propertyName
{
    return YES;
}
@end

@implementation IGSubmitOrderResp

@end
